package com.pucong.gitee.database.backup.business.unRelational.redis.cover;

import com.pucong.gitee.database.backup.common.entity.redis.AutoRedisInfo;
import com.pucong.gitee.database.backup.common.entity.redis.vo.AutoRedisInfoVo;
import com.pucong.gitee.database.backup.common.entity.redis.RedisConnect;
import org.mapstruct.Mapper;

/**
 * @author pucong
 * @url https://gitee.com/pucong
 * @create 2022.08.02
 */
@Mapper(componentModel = "spring")
public interface AutoRedisBeanConvert {

    AutoRedisInfoVo do2vo(AutoRedisInfo info);

    AutoRedisInfo dto2do(RedisConnect dto);

    RedisConnect do2dto(AutoRedisInfo dto);

}
